<template>
  <tiny-pop-upload :multiple="false" :limit="1"  :action="action" upload-name="file" :data="requestData"
                   upload-button-text="导入任务"/>
</template>
<script setup>

import {TinyPopUpload} from "@opentiny/vue";
import {ref} from "vue";
const action = ref('https://v5.sanzhiyun.cn/app/py')
const username = ref()
const requestData = ref({
  which: 'addTask',
  username: username.value,
})
</script>
<style scoped lang="scss">

</style>